package com.woniu.mapper;

import com.woniu.entity.UserAddress;
import com.woniu.vo.AddressVo;
import com.woniu.vo.AddressVoCZT;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;

public interface UserAddressMapper extends Mapper<UserAddress> {
    List<AddressVoCZT> selectAllAddressByAccountId(int accountId);

    List<AddressVo> selectAddressByUserId(Integer accountId);

    int selectAddressCountByUserId(Integer accountId) throws Exception;

    List<UserAddress> selectAddressByAccountId(Integer accountId);
}